<div class="scroll_top"> <i class="xi-arrow-up"></i> </div>
<header>
<div class="top"> <a class="logo" href="/index.php"><img src="{maccms:path_tpl}images/logo.png" /></a>
<div class="ban"><img src="{maccms:path_tpl}images/h_banner.png" /></div>
</div>
<div class="middle">
<div class="search">
<script>
    function confirm(){
        var v = $("#wd").val();
        if (!v)return false;
        return true;
    }
</script>
<form action="{maccms:link_search_vod}" method="post" id="search_form" onSubmit="return confirm();">
<input type="text" id="wd" name="wd" placeholder="비디오검색"/>
<input type="submit" name="submit" class="submit" value=""  style="display: none;"/>
</form>
<i class="xi-search" onclick="$('.submit').click();"></i> </div>
</div>
<div class="bottom">
<ul class="menu">
<li> <a href="{maccms:path}">
<div class="icon"> <img class="on" src="{maccms:path_tpl}images/icon_a_on.png" /> <img class="off" src="{maccms:path_tpl}images/icon_a.png" /> </div><p>시작페이지</p></a> </li>
<li> <a href="" id="collect"><div class="icon"> <img class="on" src="{maccms:path_tpl}images/icon_b_on.png" /> <img class="off" src="{maccms:path_tpl}images/icon_b.png" /> </div><p>즐겨찾기</p></a> </li>
<li> <a href="{maccms:getlink hits.html}"><div class="icon"> <img class="on" src="{maccms:path_tpl}images/icon_c_on.png" /> <img class="off" src="{maccms:path_tpl}images/icon_c.png" /> </div><p>시청기록</p></a> </li>
<li> <a href="{maccms:getlink top.html}"><div class="icon"> <img class="on" src="{maccms:path_tpl}images/icon_d_on.png" /> <img class="off" src="{maccms:path_tpl}images/icon_d.png" /> </div><p>일하자랭킹</p></a> </li>
</ul>
</div>
</header>
<div class="gnb_line"></div>
<ul class="gnb">
{maccms:menu type=1,2,3,4,17,50}
<li class="{if-A:[menu:id]={maccms:curvodtypeid} || [menu:id]={maccms:curvodtypepid}}on{endif-A}"> <a href="/vod-list-id-[menu:id]-pg-1-by-time.html" title="[menu:name]"><div class="icon"> <img class="on" src="{maccms:path_tpl}images/icon_0[menu:num]_on.png" /> <img class="off" src="{maccms:path_tpl}images/icon_0[menu:num].png" /></div><p>[menu:name]</p></a> </li>{/maccms:menu}
</ul>